<template>
  <div>
    <router-view v-if="$route.path === '/login'"></router-view>
    <div v-else>
      <img alt="Vue logo" src="./assets/logo.png" />
      <HelloWorld msg="Hello Vue 3.0 + Vite" />
      <a href="/login">退出</a>
    </div>
  </div>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'

export default {
  name: 'App',
  components: {
    HelloWorld
  }
}
</script>

<style lang="less">
// @import '@/style/variable.less';
body{
  margin: 0;
}
#app {
  min-width: 1280px;
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
  // .el-button--primary{
  //   background: @menuActiveText; // button 主题色保持一致
  //   border-color: @menuActiveText;
  // }
}
</style>